package com.whalefall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 
 * @author fish
 *	路由网关
 */
@RestController
@SpringCloudApplication
public class WhaleFallGatewayApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(WhaleFallGatewayApplication.class, args);
	}
	
	@RequestMapping("test")
	public String test(String prot) {
		return "路由端口：" + prot;
	}
}
